package com.zc.dao.echart;

import com.zc.entity.Score;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface ScoreDAO {
    @Results(id="resultMap",value = {
            @Result(column = "calss_name",property = "className"),
@Result(column = "person_number",property = "personNumber")
    })
@Select("select * from student")
public List<Score> findAll();
        }
